home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2008 March
/
PCWorld_2008-03_cd.bin
/
zabezpeceni
/
spyemergency
/
se-setup365.exe
/
{app}
/
SpyEmergencyOff.vbs
< prev
next >
Wrap
Text File
|
2007-10-29
|
449b
|
20 lines
Set objSecurityCenter = GetObject("winmgmts:\\.\root\SecurityCenter")
Set colAntiSpyware = objSecurityCenter.ExecQuery("Select * From AntiSpywareProduct",,48)
For Each objAntiSpyware In colAntiSpyware
Dim prodName, compValue
prodName = "Spy Emergency"
compValue = StrComp(objAntiSpyware.displayName, prodName)
if compValue = 0 then
objAntiSpyware.productEnabled=FALSE
objAntiSpyware.Put_
end if
Next